/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beansbinding;

import controlacciones.ejb3.entity.TbArea;
import java.util.ArrayList;
import java.util.List;


/**
 *
 * 
 */
public class ComboBeanBindingArea extends controlacciones.ejb3.entity.TbArea{

    public ComboBeanBindingArea() {
        lista = new ArrayList(1);
    }


    @Override
    public String toString(){
        String toString = null;
        toString = this.getCodArea() + "--" + this.getDescripcion();
        return toString;
    }

    public List<TbArea> getLista() {
        return lista;
    }

    public void setLista(List<TbArea> lista) {
        this.lista.clear();
        this.lista.addAll(lista);
    }
    private List<TbArea> lista;
}
